package com.ruoyi.system.domain.ahs;

import lombok.Data;

import java.io.Serializable;

/**
 * 爱回收平台接口返回通用格式
 *
 * @author 辛凤文
 * @since 1.0
 */
@Data
public class AhsResult<T> implements Serializable {
    private Long code;
    private String resultMessage;
    private T data;
    private String debugMessage;

    public boolean isSuccess() {
        return code == 0L;
    }
}
